package com.sdy.healthcode.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.healthcode.biz.model.Region;

import java.util.List;

public interface RegionService {
    List<Region> listRegionByProvinceAndCity(String provinceName, String cityName);
    List<Region> listAreaByProvinceAndCity(String provinceName, String cityName);
    
    IPage<Region> pageCommunityByArea(Page<Region> page, String areaCode);
    
    Region getProvince(String provinceName);
    Region getCity(String cityName);
}
